<template>
    <div>
        <h2 @click="showName">学生姓名:{{name}}</h2>
        <h2>学生性别：{{gender}}</h2>
    </div>
</template>

<script>
import {mixin} from '../mixin'
export default {
    name:"StudentInfo",
    data(){
        return{
            name:"雷智磊",
            gender:"男"
            
        }
    },
    mixins:[mixin]
    
}
</script>